.wep-es-formItem {
    display: flex;
    padding: 10px;
    align-items: center;
    /* justify-content: center; */
}

.wep-es-from-title {
    margin-left: 3.2em;
}

.wep-es-formItem .wep-es-label {
    margin-right: 10px;
    width: 6em;
    text-align: right;
}

.wep-es-formItem .wep-es-btn {
    margin-left: 12px;
    color: #db411f;
    cursor: pointer;
}

.wep-es-addArea {
    margin-bottom: 12px;
    padding: 20px;
    border-radius: 6px;
    border: 2px dashed #2554e1;
}

@media screen and (max-width: 500px) {
    .wep-es-formItem .wep-es-label {
        width: auto;
        min-width: fit-content;
    }
}

/* radio */
.radio-buttons-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.radio-button {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.radio-button__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-button__label {
    display: inline-block;
    padding-left: 30px;
    position: relative;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.radio-button__custom {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #555;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.radio-button__input:checked+.radio-button__label .radio-button__custom {
    transform: translateY(-50%) scale(0.9);
    border: 5px solid #4c8bf5;
    color: #4c8bf5;
}

.radio-button__input:checked+.radio-button__label {
    color: #4c8bf5;
}

.radio-button__label:hover .radio-button__custom {
    transform: translateY(-50%) scale(1.2);
    border-color: #4c8bf5;
    box-shadow: 0 0 10px #4c8bf580;
}

/* input  */

.wep-es-input {
    border: 2px solid transparent;
    width: 15em;
    height: 2.5em;
    padding-left: 0.8em;
    margin-right: 16px;
    outline: none;
    overflow: hidden;
    background-color: #F3F3F3;
    border-radius: 10px;
    transition: all 0.5s;
}

.wep-es-input:hover,
.wep-es-input:focus {
    border: 2px solid #4A9DEC;
    box-shadow: 0px 0px 0px 7px rgb(74, 157, 236, 20%);
    background-color: white;
}



/* checkbox */
.wep-es-checkbox {}

/* Hide the default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-container .label {
    margin-left: 30px;
}

/* Create a custom checkbox container */
.checkbox-container {
    position: relative;
    display: inline-block;
    margin-right: 16px;
    height: 18px;
    cursor: pointer;
}

/* Style the checkmark */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    /* Make the checkbox slightly bigger */
    width: 16px;
    /* Make the checkbox slightly bigger */
    border: 2px solid #555;
    /* Add border for 3D effect */
    border-radius: 6px;
    /* Round the corners */
    background-color: #fff;
    /* Default color */
    transition: all 0.3s ease;
    /* Add smooth transition */
}

/* Show the checkmark when checkbox is checked */
.checkbox-container input:checked~.checkmark:after {
    display: block;
    animation: checkboxExpand 0.3s ease forwards;
}

/* Style the checkmark/indicator */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    /* Center vertically */
    left: 50%;
    /* Center horizontally */
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    /* Center and hide initially, then scale to appear */
    width: 3px;
    /* Adjust size */
    height: 8px;
    /* Adjust size */
    border: solid #fff;
    /* Change color of the tick to white */
    border-width: 0 2px 2px 0;
    /* Adjust thickness and direction */
}

/* On hover, add a grey background color */
.checkbox-container:hover .checkmark {
    /* background-color: #ccc; */
    border-color: #4c8bf5;
    box-shadow: 0 0 10px rgba(19, 89, 229, 0.2);
    /* Add subtle shadow */
    transform: scale(1.05);
    /* Scale up slightly */
}

/* When the checkbox is checked, add a green background */
.checkbox-container input:checked~.checkmark {
    background-color: #4c8bf5;
    border-color: #4c8bf5;
    /* Change border color */
    box-shadow: 0 0 5px rgba(104, 158, 252, 0.5);
    /* Add shadow for 3D effect */
}

/* Keyframes for expanding animation */
@keyframes checkboxExpand {
    0% {
        transform: translate(-50%, -50%) rotate(45deg) scale(0);
    }

    100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
}

/* 提交按钮 */
.wep-es-submitBtn {
    margin-left: 3.8em;
    margin-top: 2em;
    display: inline-block;
    border-radius: 7px;
    border: none;
    background: #1875FF;
    color: white;
    font-family: inherit;
    text-align: center;
    font-size: 13px;
    box-shadow: 0px 14px 56px -11px #1875FF;
    padding: 0.8em;
    min-width: 6em;
    transition: all 0.4s;
    cursor: pointer;
}

.wep-es-submitBtn span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.4s;
}

.wep-es-submitBtn span:after {
    content: '- Doc';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.7s;
}

.wep-es-submitBtn:hover span {
    padding-right: 3.55em;
}

.wep-es-submitBtn:hover span:after {
    opacity: 4;
    right: 0;
}